package org.begincode.core.mapper;

import org.apache.ibatis.annotations.Param;
import org.begincode.core.model.VideoChapter;
import org.begincode.core.model.VideoChapterExample;

import java.util.List;

public interface VideoChapterMapper {
    int countByExample(VideoChapterExample example);

    int deleteByExample(VideoChapterExample example);

    int deleteByPrimaryKey(Integer videoChapterId);

    int insert(VideoChapter record);

    int insertSelective(VideoChapter record);

    List<VideoChapter> selectByExample(VideoChapterExample example);

    VideoChapter selectByPrimaryKey(Integer videoChapterId);

    int updateByExampleSelective(@Param("record") VideoChapter record, @Param("example") VideoChapterExample example);

    int updateByExample(@Param("record") VideoChapter record, @Param("example") VideoChapterExample example);

    int updateByPrimaryKeySelective(VideoChapter record);

    int updateByPrimaryKey(VideoChapter record);
}